//
//  NSArray+Extension.m
//  CarCredit
//
//  Created by stoneli on 13-5-17.
//  Copyright (c) 2013年 linmingzhi987. All rights reserved.
//

#import "NSArray+Extension.h"

@implementation NSArray(Extension)
-(id)safeObjectAtIndex:(NSUInteger)index
{
    id result = nil;
    if ([self isKindOfClass:[NSArray class]] && index < self.count) {
        result = [self objectAtIndex:index];
    }
    return result;
}
@end
